import type { Cover } from "@/types";

// 定义文章条目对应的接口，原名为Results，现改为ArticleItem
export interface ArticleItem {
    art_id: string;
    title: string;
    aut_id: string;
    comm_count: number;
    pubdate: string;
    aut_name: string;
    is_top: number;
    cover: Cover;
}

// 定义data对象对应的接口
export interface ArticleResult {
    results: ArticleItem[];
    pre_timestamp: string;
}
// 定义请求参数对应的接口
export interface ArticlesParams {
    channel_id: number;
    timestamp: string;
}